using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace SmartWallpaperChanger
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            if (MultipleInstancesHandler.IsAlreadyRunning)
            {
                MessageBox.Show("SWC kann nur einmal gestartet werden.");
                return;
            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            
            Subro.AutoStart.Current.EnabledThroughRegistry = false;
            Application.Run(new Smart_WP_Changer());
        }
    }
}